package com.zjun.service;

import com.zjun.pojo.MainDataPO;
import com.zjun.pojo.Result;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.stream.LongStream;

@Service
public interface BackendDataService {

    //查询所有数据
    List<MainDataPO> selectAllData();


    //添加数据
    Result insertData(String costType, String costDetail, String costPrice);

    //获取所有支出类型、支出细分
    Result getFormOptions();
}
